from django.db import models


# Create your models here.

class User(models.Model):
    username = models.CharField(max_length=20)
    phone = models.CharField(max_length=20)


class Book(models.Model):
    bookname = models.CharField(max_length=10)
    price = models.CharField(max_length=10, default=0)
    # bookuser = models.ForeignKey('User', on_delete=models.CASCADE)
